﻿namespace BaseSyntax.LambdaTest
{
	/// <summary>
	/// 匿名方法
	/// </summary>
	public class AnonymityMethod:ITest
	{
		public delegate void Add(int a, int b);

		public delegate void QQQ(int a);
		public void Test()
		{
			Add a1 = (int a, int b) => { return; };
			Add a2 = (a, b) => {return;};
			QQQ q1 = i => { };
		}
	}
}